package com.github_dididipapa.mall.ware.feign;

import com.github_dididipapa.common.to.SkuInfoTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


/**
 * @description: To be defined
 * @author: dididi_papa
 * @email: mitis1624087624@gmail.com
 * @date: 2025/06/25  18:36
 */
@FeignClient(name = "mall-gateway", url = "http://127.0.0.1:88")
public interface ProductFeignService {

    @GetMapping("/api/product/skuinfo/skuDetail/{skuId}")
    SkuInfoTo getSkuInfo(@PathVariable("skuId") Long skuId);
}
